import request from "@/plugins/axios";
// 分类列表
export function listApi(data) {
  return request({
    url: "/shop/goodsCate/index",
    method: "post",
    data,
  });
}
// 分类添加
export function addApi(data) {
  return request({
    url: "/shop/goodsCate/create",
    method: "post",
    data,
  });
}
// 分类修改
export function saveApi(data) {
  return request({
    url: "/shop/goodsCate/save",
    method: "post",
    data,
  });
}
// 分类删除
export function delApi(data) {
  return request({
    url: "/shop/goodsCate/delete",
    method: "post",
    data,
  });
}
// 状态修改
export function stateApi(data) {
  return request({
    url: "/shop/goodsCate/state",
    method: "post",
    data,
  });
}
